
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../global/css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./frm.css" />
</head>
<body>
	<div id="main"></div>
    <div id="no-msg" class="aui-hide">
        <span class="aui-iconfont aui-icon-comment"></span>
    </div>
</body>

<script id="tpl-push-replies" type="text/x-dot-template">
    <section class="aui-content">
        <div class="aui-card-list">
			{{~it :v:i}}
            <div class="aui-card-list-header aui-card-list-user aui-border-b" data-tid="{{=v.threadinfo.tid}}" data-from="reply-push" tapmode >
                <div class="auix-avatar-big aui-card-list-user-avatar" onclick="views.openUCenterWin({{=v.replyinfo.uid}}, &quot;{{=escapeStr(decodeEmoji(v.replyinfo.username))}}&quot;);">
                    <img src="{{=v.replyinfo.avatar}}" class="aui-img-round" />
                </div>
                <div class="aui-card-list-user-name">
                    <div class="name">{{=decodeEmoji(v.replyinfo.username)}}</div>
                    <small>{{=vdate4Msg(v.dateline)}}</small>

                </div>
                <div class="aui-card-list-user-info aui-ellipsis">
					说: {{!v.replyinfo.content}}
				</div>
                <div class="subject" data-tid="{{=v.threadinfo.tid}}" data-pos="{{=v.position}}" data-time="{{=v.dateline}}" data-from="reply-push"  onclick="ccn() && views.openPostFromList(this);">{{=shortText(v.threadinfo.title,15)}}</div>
            </div>
			{{~}}
        </div>
	</section>
</script>

<script type="text/javascript" src="../../../config.js"></script>
<script type="text/javascript" src="../../../global/script/lib/api.js"></script>
<script type="text/javascript" src="../../../global/script/lib/doT.min.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myRongIM.js"></script>
<script type="text/javascript" src="../../../global/script/mylib.js"></script>
<script type="text/javascript" src="../../../app.js"></script>
<script type="text/javascript" src="./frm.js"></script>

</html>


<script type="text/javascript" src="../../../global/script/_fakeapi.js"></script>
<script type="text/javascript">
	window.mockReplyList = [
	    // 存储的是 payload.action (app自己加的dateline字段)
		{
			action: 1,
			replyinfo: {
				uid: "2280",
				username: "notecodey",
				content: "都觉得就地解决，啊打发阿斯顿发生打发斯蒂芬阿斯顿发生多发点 我你是飒飒多"
			},
			threadinfo: {
				uid: "2278",
				tid: "388",
				title: "发帖",
				username: "notecodex"
			},
			dateline: 1502182692,
		}
	]

	fooPushReplies();
</script>
